﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Ext.Net;
using ENT.GP.Core;
using ENT.GP.Core.Core;
using entgp.Code;
using System.IO;

namespace entgp.Empresa
{
    public partial class Default : PaginasUsuario
    {

        
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                if (!IsPostBack)
                {

                    var empLoad = Empresas.Get(IdEmp);
                    wucEmpresa1.SetTypeClose("1");
                    wucEmpresa1.Mostrar("Editar", empLoad.Id,false);
                }
            }
            catch (Exception ex)
            {
                Util.RegistarLog(ex.ToString());
            }            
        }

     

    }
}
